package com.ruoyi.rural.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 房屋信息对象 rural_house
 * 
 * @author ruoyi
 * @date 2022-02-06
 */
public class RuralHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 房屋名称 */
    @Excel(name = "房屋名称")
    private String houseName;

    /** 房屋地址 */
    @Excel(name = "房屋地址")
    private String addressId;

    /** 房屋所属人 */
    @Excel(name = "房屋所属人")
    private String userId;

    /** 住户人数 */
    @Excel(name = "住户人数")
    private Long householdsNumber;

    /** 房屋图片 */
    @Excel(name = "房屋图片")
    private String image;

    /** 占地面积 */
    @Excel(name = "占地面积")
    private String floorSpace;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }
    public void setAddressId(String addressId) 
    {
        this.addressId = addressId;
    }

    public String getAddressId() 
    {
        return addressId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setHouseholdsNumber(Long householdsNumber) 
    {
        this.householdsNumber = householdsNumber;
    }

    public Long getHouseholdsNumber() 
    {
        return householdsNumber;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setFloorSpace(String floorSpace) 
    {
        this.floorSpace = floorSpace;
    }

    public String getFloorSpace() 
    {
        return floorSpace;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseName", getHouseName())
            .append("addressId", getAddressId())
            .append("userId", getUserId())
            .append("householdsNumber", getHouseholdsNumber())
            .append("image", getImage())
            .append("floorSpace", getFloorSpace())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
